package grupobbva.pe.operhc.form;

import java.io.UnsupportedEncodingException;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class SubCanalForm extends ActionForm{

	private static final long serialVersionUID = 1L;
	private String seleccionados;
	private String codSubCanalHdn;
	private String codSubCanal;
	private String desSubCanal;
	private String codCanal;
	private String desCanal;
	
	public SubCanalForm() {
		seleccionados = "";
		codSubCanalHdn = "";
		codSubCanal = "";
		desSubCanal = "";
		codCanal = "";
		desCanal = "";
	}

	public String getSeleccionados() {
		return seleccionados;
	}

	public void setSeleccionados(String seleccionados) {
		this.seleccionados = seleccionados;
	}

	public String getCodSubCanalHdn() {
		return codSubCanalHdn;
	}

	public void setCodSubCanalHdn(String codSubCanalHdn) {
		this.codSubCanalHdn = codSubCanalHdn;
	}

	public String getCodSubCanal() {
		return codSubCanal;
	}

	public void setCodSubCanal(String codSubCanal) {
		this.codSubCanal = codSubCanal;
	}

	public String getDesSubCanal() {
		return desSubCanal;
	}

	public void setDesSubCanal(String desSubCanal) {
		this.desSubCanal = desSubCanal;
	}

	public String getCodCanal() {
		return codCanal;
	}

	public void setCodCanal(String codCanal) {
		this.codCanal = codCanal;
	}

	public String getDesCanal() {
		return desCanal;
	}

	public void setDesCanal(String desCanal) {
		this.desCanal = desCanal;
	}
	
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		try {  
			  request.setCharacterEncoding("UTF-8");  
		} catch (UnsupportedEncodingException ex) {
			ex.printStackTrace();
		}
		super.reset(mapping, request);
	}
	
}
